package com.mall.server.service.ums;


import com.mall.dubbo.api.UmsMemberLevelApi;
import com.mall.model.domain.UmsMemberLevel;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UmsMemberLevelService {

    @DubboReference
    private UmsMemberLevelApi memberLevelApi;

    public List<UmsMemberLevel> listByDefault(Integer defaultStatus) {

        List<UmsMemberLevel> memberLevelList = memberLevelApi.listByDefault(defaultStatus);

        return memberLevelList;
    }

}
